package Ve;

import java.util.LinkedList;
import java.util.Stack;

/*
 *@Student 张策
 */
public class Stack_ {
    public static void main(String[] args) {
        LinkedList<Object> objects = new LinkedList<>();
        objects.push(1);
        objects.push(1);
        objects.push(1);
        System.out.println(objects.pop());

        Stack stack = new Stack();
        stack.push(1);
        stack.push(2);
        stack.push(3);
        Object pop = stack.pop();
    }
}
